//
@import './normalize.scss';
//适配
@import './media.scss';
//
@import './app.scss';
//
@import './variables.scss';
//
//
@import './top.scss';
@import './theme/index.scss';
@import './element-ui.scss';
@import './sidebar.scss';




a {
    text-decoration: none;
    color: #333;
  }
  
  * {
    outline: none;
  }
  
//   @include scrollBar();
  
  // 关于 图标 CSS 的设置
  [class^="icon-"] {
    font-family: "iconfont" !important;
    /* 以下内容参照第三方图标库本身的规则 */
    font-size: 18px !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .avue-input-icon__item i,
  .avue-crud__icon--small {
    font-family: "iconfont" !important;
    /* 以下内容参照第三方图标库本身的规则 */
    font-size: 24px !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .el-menu-item [class^=icon-] {
    margin-right: 5px;
    width: 24px;
    text-align: center;
    font-size: 18px;
    vertical-align: middle;
  }
  
  .el-submenu [class^=icon-] {
    vertical-align: middle;
    margin-right: 5px;
    width: 24px;
    text-align: center;
    font-size: 18px;
  }
  
  .el-cascader-node__label {
    color: $mainBg;
  }
  
  .is-focus .el-input__inner {
    border-color: $mainBg !important;
  }
  
  
  .table-slot-input .el-input__inner {
    font-size: 12px;
  }
  
  .kc-table-no-menu .avue-crud__menu {
    display: none;
  }
  
  .kc-table-no-pagination .avue-crud__pagination {
    display: none
  }
  
  .avue-crud__pagination {
    //   margin-bottom: 10px;
  }
  
  .kc-filter-form {
    margin-bottom: 0 !important;
  }
  
  // 新增、编辑页底部按钮样式
  .kc-bottom-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 20px;
    //   margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ececec;
  
    /deep/ .el-button {
      padding: 11px 0;
      width: 120px;
    }
  
    .back {
      color: #24a7ce;
      // border-color: #24a7ce;
    }
  
    .save {
      background-color: #24a7ce;
      border-color: #24a7ce;
      color: #fff;
    }
  
    .publish {
      background-color: #67c23a;
      border-color: #67c23a;
      color: #fff;
    }
  }
  
  /* begin table 顶部添加按钮样式 */
  .table-btn-list {
    position: absolute;
    right: 0;
    //   top: 0;
  
    .btn-item {
      display: inline-block;
      width: 110px;
      height: 32px;
      line-height: 32px;
      text-align: center;
      background-color: #24a7ce;
      border-color: #24a7ce;
      color: #fff;
      font-size: 13px;
      border-radius: 4px;
      cursor: pointer;
      margin-left: 10px;
    }
  }
  
  /* end table 顶部添加按钮样式 */
  
  /** Begin kc-card 标题样式 */
  .srm-card {
    .el-card__header {
      padding-top: 12px;
      padding-bottom: 12px;
    }
  }
  
  /** End */
  
  /** Begin 新增、编辑、详情 form 样式 */
  .srm-form {
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    margin: 15px auto 0;
    padding: 0 !important;
  
    .el-form-item {
      width: 50% !important;
      margin-bottom: 20px !important;
  
      .el-form-item__label {
        font-size: 13px;
      }
  
      .el-form-item__content {
  
        .el-input,
        .el-select,
        .el-date-editor,
        .el-cascader {
          font-size: 13px;
        }
  
        .el-select,
        .el-date-editor,
        .el-cascader {
          width: 100%;
        }
      }
    }
  }
  
  /** End 新增、编辑、详情 form 样式 */
  
  /** Begin 新增、编辑、详情 table 样式 */
  .srm-table-detail {
    max-height: 530px;
    overflow: auto;
    margin-bottom: 15px;
  
    .avue-crud__menu {
      display: none;
    }
  
    .avue-crud__pagination {
      display: none;
    }
  
    .el-table {
      /deep/ .el-form-item {
        .el-form-item__content {
  
          .el-input,
          .el-select,
          .el-date-editor {
            font-size: 13px;
          }
        }
      }
    }
  
    &.view {
      /deep/ .el-form-item {
        margin-bottom: 0px !important;
  
        .el-form-item__content {
          margin-left: 0px !important;
        }
      }
    }
  
    &.edit,
    &.add {
      /deep/ .el-form-item {
        margin-bottom: 18px !important;
  
        .el-form-item__content {
          margin-left: 0px !important;
        }
      }
    }
  }
  
  /** End */
  
  .upload-tip {
    line-height: 20px !important;
    font-size: 12px;
  }
  
  .bom-tree {
    .tree-level {
      //display: inline-block;
      padding: 2px 5px;
      color: #333;
  
      &.one {
        background-color: #FF7A7A;
      }
  
      &.two {
        background-color: #FF99CC;
      }
  
      &.three {
        background-color: #F79546;
      }
  
      &.four {
        background-color: #C1D59C;
      }
  
      &.five {
        background-color: #CEFEFF;
      }
  
      &.six {
        background-color: #E6F2FF;
      }
    }
  
    .custom-tree-node {
      .tree_dev_cls {
        position: absolute;
        top: 0;
        width: 34px;
        height: 10px;
        border-bottom: 1px dotted #00465b;
      }
    }
  
    .el-tree-node__expand-icon {
      position: relative;
      padding: 0;
  
      &.expanded {
        z-index: 1;
        background-image: url("../assets/img/jianhao.png");
        transform: rotate(0deg);
  
        &::after {
          // width: 16px;
          // height: 16px;
          // background-image: url("../../assets/img/icon/jianhao.png");
          // background-size: contain;
          // bottom: -6px;
          // left: -6px;
        }
      }
  
      &.is-leaf {
        background-image: none;
      }
    }
  
    .el-tree-node__content {
      position: relative;
      // margin-left: 20px;
      padding: 0 !important;
      border-top: 10px solid #fff;
      background-color: #fff;
      z-index: 1;
      height: 34px;
    }
  
    .el-tree-node:last-child {
      .is-leaf .custom-tree-node {
        position: relative;
  
        &::after {
          content: '';
          width: 1px;
          height: 12px;
          background: #fff;
          position: absolute;
          bottom: -5px;
          left: -1px;
        }
      }
    }
  
    .tree-icon {
      z-index: 1;
      width: 16px;
      height: 16px;
      background-image: url("../assets/img/jiahao.png");
      background-size: contain;
      position: absolute;
      bottom: 7px;
      left: -9px;
  
      &::after {
        // width: 16px;
        // height: 16px;
        // content: "";
        // /*border: 4px solid transparent;*/
        // /*border-left: 4px solid #000;*/
        // /*transform: rotate(135deg);*/
        // background-image: url("../../assets/img/icon/jiahao.png");
        // background-size: contain;
        // position: absolute;
        // bottom: -6px;
        // left: -6px;
      }
    }
  
    .el-tree-node__children {
      overflow: unset !important;
      border-left: 1px dotted #00465B;
      margin-left: 45px;
      position: relative;
  
      .el-tree-node.is-expanded.is-focusable:last-child {
        position: relative;
  
        &::after {
          content: '';
          width: 1px;
          //height: 20px;
          background: #fff;
          position: absolute;
          top: 20px;
          bottom: 0;
          left: -1px;
        }
      }
  
      .el-tree-node:last-child {
        .is-leaf .custom-tree-node {
          position: relative;
  
          &::after {
            content: '';
            width: 1px;
            height: 15px;
            background: #fff;
            position: absolute;
            bottom: 0px;
            left: -1px;
          }
        }
      }
  
      &::after {
        content: '';
        width: 1px;
        height: 15px;
        background: #fff;
        position: absolute;
        //top: 30px;
        bottom: 0;
        left: -1px;
      }
  
    }
  }
  .el-tabs--bottom .el-tabs__item.is-bottom:nth-child(2), .el-tabs--bottom .el-tabs__item.is-top:nth-child(2), .el-tabs--top .el-tabs__item.is-bottom:nth-child(2), .el-tabs--top .el-tabs__item.is-top:nth-child(2) {
    padding: 0 20px;
  }
  .avue-new-table {
    .avue-crud__search .el-form-item--mini.el-form-item, .avue-crud__search .el-form-item--small.el-form-item {
      margin-bottom: 8px!important;
    }
    .el-col {
      margin-bottom: 0!important;
    }
    .avue-crud__pagination {
      padding: 0;
      .el-card__body{
        padding: 0 10px!important;
      }
    }
  }
  
  .hide-menu-header .avue-crud__header{
    display: none;
  }
  .hide-form-menu .avue-form__menu{
    display: none;
  }
  
  .btns-inline {
    display: inline-block;
  }
  
  .header-tab .el-tabs__header{
    margin-bottom: 0;
  }
  
  .form-radio-height {
    line-height: 40px!important;
  }
  
